;****************************************************************
; ASIX AX88772/772A USB2.0 to Fast Ethernet Adapter
;
; Copyright 2003-2009, ASIX Electronics Corporation
;
; Version: 3.6.3.27	for windows xp 64-bit & windows 2003 64-bit
;****************************************************************
[Version]
Signature  = "$Windows NT$"
CatalogFile = ax88772.cat
Class      = Net
ClassGUID  = {4d36e972-e325-11ce-bfc1-08002be10318}
Provider   = %ASIX%
DriverVer = 01/06/2009, 3.6.3.27

[Manufacturer]
%ASIX%   = USB, NTamd64

[ControlFlags]
ExcludeFromSelect = USB\VID_0B95&PID_7720, USB\VID_0B95&PID_772A, USB\VID_0DB0&PID_A877

[USB.NTamd64]
%AX88772.DeviceDesc% = AX88772.Ndi,USB\VID_0B95&PID_7720
%AX88772A.DeviceDesc% = AX88772A.Ndi,USB\VID_0B95&PID_772A
%MSI.DeviceDesc% = AX88772A.Ndi,USB\VID_0DB0&PID_A877

;****************************************************************
[AX88772.Ndi.NT]
AddReg          = AX88772.NT.Reg, AX88772.Con.Reg
Characteristics = 0x84
BusType         = 15
CopyFiles       = CopyFile.Sys

[AX88772.Ndi.NT.Services]
AddService = AX88772, 2, AX88772.Service, Common.EventLog

[AX88772A.Ndi.NT]
AddReg          = AX88772.NT.Reg, AX88772A.Con.Reg
Characteristics = 0x84
BusType         = 15
CopyFiles       = CopyFile.Sys

[AX88772A.Ndi.NT.Services]
AddService = AX88772, 2, AX88772.Service, Common.EventLog

;****************************************************************
; Driver parameters
;****************************************************************
[AX88772.Con.Reg]
HKR, ,               ChipCode,   0, "0"

; Connection Type
HKR,Ndi\params\ConnectionType,ParamDesc,,%ConnectionType%
HKR,Ndi\params\ConnectionType,default,,"0"
HKR,Ndi\params\ConnectionType,type,,"enum"
HKR,Ndi\params\ConnectionType\enum,0,,%AutoSense%
HKR,Ndi\params\ConnectionType\enum,1,,%Auto10Half%
HKR,Ndi\params\ConnectionType\enum,2,,%Auto10Full%
HKR,Ndi\params\ConnectionType\enum,3,,%Auto100Half%
HKR,Ndi\params\ConnectionType\enum,4,,%Auto100Full%
HKR,Ndi\params\ConnectionType\enum,5,,%Force10Half%
HKR,Ndi\params\ConnectionType\enum,6,,%Force10Full%
HKR,Ndi\params\ConnectionType\enum,7,,%Force100Half%
HKR,Ndi\params\ConnectionType\enum,8,,%Force100Full%

; Mac Address
HKR,Ndi\params\NetworkAddress,ParamDesc,0,%NetworkAddress%
HKR,Ndi\params\NetworkAddress,type,0,"edit"
HKR,Ndi\params\NetworkAddress,default,0, "000000000000"
HKR,Ndi\params\NetworkAddress,LimitText,0,"12"
HKR,Ndi\params\NetworkAddress,UpperCase,0,"1"
HKR,Ndi\params\NetworkAddress,Optional,0,"1"

; Flow Control
HKR,Ndi\params\FlowControl,ParamDesc,,%FlowControl%
HKR,Ndi\params\FlowControl,default,,"3"
HKR,Ndi\params\FlowControl,type,,"enum"
HKR,Ndi\params\FlowControl\enum,0,,%Disable%
HKR,Ndi\params\FlowControl\enum,1,,%TxPAUSE%
HKR,Ndi\params\FlowControl\enum,2,,%RxPAUSE%
HKR,Ndi\params\FlowControl\enum,3,,%Enable%

; Wake Up
HKR,Ndi\params\WakeUp,ParamDesc,,%WakeUp%
HKR,Ndi\params\WakeUp,default,,"0"
HKR,Ndi\params\WakeUp,type,,"enum"
HKR,Ndi\params\WakeUp\enum,0,,%Disable%
HKR,Ndi\params\WakeUp\enum,2,,%LinkUp%
HKR,Ndi\params\WakeUp\enum,4,,%MagicPacket%
HKR,Ndi\params\WakeUp\enum,6,,%Both%


[AX88772A.Con.Reg]
HKR, ,               ChipCode,   0, "1"

; Connection Type
HKR,Ndi\params\ConnectionType,ParamDesc,,%ConnectionType%
HKR,Ndi\params\ConnectionType,default,,"0"
HKR,Ndi\params\ConnectionType,type,,"enum"
HKR,Ndi\params\ConnectionType\enum,0,,%AutoSense%
HKR,Ndi\params\ConnectionType\enum,1,,%Auto10Half%
HKR,Ndi\params\ConnectionType\enum,2,,%Auto10Full%
HKR,Ndi\params\ConnectionType\enum,3,,%Auto100Half%
HKR,Ndi\params\ConnectionType\enum,4,,%Auto100Full%
HKR,Ndi\params\ConnectionType\enum,5,,%Force10Half%
HKR,Ndi\params\ConnectionType\enum,6,,%Force10Full%
HKR,Ndi\params\ConnectionType\enum,7,,%Force100Half%
HKR,Ndi\params\ConnectionType\enum,8,,%Force100Full%

; Mac Address
HKR,Ndi\params\NetworkAddress,ParamDesc,0,%NetworkAddress%
HKR,Ndi\params\NetworkAddress,type,0,"edit"
HKR,Ndi\params\NetworkAddress,default,0, "000000000000"
HKR,Ndi\params\NetworkAddress,LimitText,0,"12"
HKR,Ndi\params\NetworkAddress,UpperCase,0,"1"
HKR,Ndi\params\NetworkAddress,Optional,0,"1"

; Flow Control
HKR,Ndi\params\FlowControl,ParamDesc,,%FlowControl%
HKR,Ndi\params\FlowControl,default,,"3"
HKR,Ndi\params\FlowControl,type,,"enum"
HKR,Ndi\params\FlowControl\enum,0,,%Disable%
HKR,Ndi\params\FlowControl\enum,1,,%TxPAUSE%
HKR,Ndi\params\FlowControl\enum,2,,%RxPAUSE%
HKR,Ndi\params\FlowControl\enum,3,,%Enable%

; Wake Up
HKR,Ndi\params\WakeUp,ParamDesc,,%WakeUp%
HKR,Ndi\params\WakeUp,default,,"0"
HKR,Ndi\params\WakeUp,type,,"enum"
HKR,Ndi\params\WakeUp\enum,0,,%Disable%
HKR,Ndi\params\WakeUp\enum,2,,%LinkUp%
HKR,Ndi\params\WakeUp\enum,4,,%MagicPacket%
HKR,Ndi\params\WakeUp\enum,8,,%WakeUpFrame%
HKR,Ndi\params\WakeUp\enum,6,,%LinkUp-MagicPacket%
HKR,Ndi\params\WakeUp\enum,10,,%LinkUp-WakeUpFrame%
HKR,Ndi\params\WakeUp\enum,12,,%MagicPacket-WakeUpFrame%
HKR,Ndi\params\WakeUp\enum,14,,%All%

;Wake Up Frame
HKR,Ndi\params\WakeUpFrameType,ParamDesc,,%WakeUpFrameType%
HKR,Ndi\params\WakeUpFrameType,default,,"0"
HKR,Ndi\params\WakeUpFrameType,type,,"enum"
HKR,Ndi\params\WakeUpFrameType\enum,0,,%WindowsDefault%
HKR,Ndi\params\WakeUpFrameType\enum,1,,%PING%
HKR,Ndi\params\WakeUpFrameType\enum,2,,%ARP%
HKR,Ndi\params\WakeUpFrameType\enum,3,,%PING-ARP%

;VLAN ID
HKR, Ndi\Params\VLAN_ID,  ParamDesc,  , %VLANID%
HKR, Ndi\Params\VLAN_ID,  Type,       , "int"
HKR, Ndi\Params\VLAN_ID,  Default,    , "0"
HKR, Ndi\params\VLAN_ID,  min,        , "0"
HKR, Ndi\params\VLAN_ID,  max,        , "4095"
HKR, Ndi\params\VLAN_ID,  step,       , "1"
HKR, NDI\params\VLAN_ID,  UpperCase,  , "1"
HKR, NDI\params\VLAN_ID,  optional,   , "1"

;****************************************************************
; Install section for Windows NT 5
;****************************************************************
[AX88772.NT.Reg]
; Interfaces
HKR, Ndi\Interfaces, LowerRange, 0, "ethernet"
HKR, Ndi\Interfaces, UpperRange, 0, "ndis5"
HKR, Ndi,            Service,    0, "AX88772"
HKR, ,               Platform,	 0, "0"

[AX88772.Service]
DisplayName    = %AX88772.DisplayName%
ServiceType    = 1
StartType      = 3
ErrorControl   = 1
ServiceBinary  = %12%\ax88772.sys
LoadOrderGroup = NDIS
AddReg         = TextModeFlags.Reg

[Common.EventLog]
AddReg = Common.AddEventLog.Reg

[Common.AddEventLog.Reg]
HKR, , EventMessageFile, 0x00020000, "%%SystemRoot%%\System32\netevent.dll"
HKR, , TypesSupported  , 0x00010001, 7

[TextModeFlags.Reg]
HKR, , TextModeFlags, 0x00010001, 0x0001

[CopyFile.Sys]
ax88772.sys,,,2

;**********************************************************************
; Destination directories
;**********************************************************************
[DestinationDirs]
CopyFile.Sys	= 12
DefaultDestDir	= 11

[SourceDisksNames]
50=%AX88772.DiskName%,,

[SourceDisksFiles]
ax88772.sys=50,.,ax88772.sys,10000

;**********************************************************************
; Localizable strings
;**********************************************************************
[Strings]
ASIX = "ASIX"
AX88772.DiskName = "USB2.0 to Fast Ethernet Driver Diskette"
AX88772.DeviceDesc = "ASIX AX88772 USB2.0 to Fast Ethernet Adapter"
AX88772A.DeviceDesc = "ASIX AX88772A USB2.0 to Fast Ethernet Adapter"
MSI.DeviceDesc = "MSI USB Network Controller"
AX88772.DisplayName = "USB2.0 to Fast Ethernet Adapter"

ConnectionType         = "Connection Type"
AutoSense              = "AutoSense"
Auto10Half             = "Auto 10BaseT Half_Duplex"
Auto10Full             = "Auto 10BaseT Full_Duplex"
Auto100Half            = "Auto 100BaseTx Half_Duplex"
Auto100Full            = "Auto 100BaseTx Full_Duplex"
Force10Half            = "Force 10BaseTx Half_Duplex"
Force10Full            = "Force 10BaseTx Full_Duplex"
Force100Half           = "Force 100BaseTx Half_Duplex"
Force100Full           = "Force 100BaseTx Full_Duplex"
NetworkAddress         = "NetworkAddress"
FlowControl            = "Flow Control"
Disable                = "Disable"
Enable                 = "Enable"
TxPAUSE                = "Tx PAUSE"
RxPAUSE                = "Rx PAUSE"
WakeUp                 = "Wake Up"
LinkUp                 = "Link Up"
MagicPacket            = "Magic Packet"
WakeUpFrame            = "Wake-Up Frame"
LinkUp-MagicPacket     = "Link Up/Magic Packet"
LinkUp-WakeUpFrame     = "Link Up/Wake-Up Frame"
MagicPacket-WakeUpFrame= "Magic Packet/Wake-Up Frame"
All                    = "All"
Both                   = "Both"
WakeUpFrameType        = "Wake-Up Frame Type"
WindowsDefault         = "Windows Default"
PING                   = "PING"
ARP                    = "ARP"
PING-ARP               = "PING/ARP"
VLANID                 = "VLAN ID"
